import React, { Component } from 'react'
import Night from '../../components/night'
class View extends Component {
  constructor(props) {
    super(props)
    this.state = {}
  }
  oClick() {
    console.log(111)
  }
  render() {
    return (
      <div>
        <Night
          icon="123"
          children="child"
          iconAtFront={true}
          iconColor="red"
          style={{ fontSize: '20px', color: 'pink' }}
          className="class名"
          onClick={this.oClick}
        ></Night>
      </div>
    )
  }
}
export default View
